package com.zmx.common.common.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @Description: Elasticsearch参数属性
 * @ClassName: ElasticsearchProperties
 * @Author zhaomxr
 * @Date 2021-09-15 11:00
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "elasticsearch")
public class ElasticsearchProperties {

    private String host;

    private int port;
}
